package com.catering.project.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.catering.common.annotation.Excel;
import com.catering.common.core.domain.BaseEntity;

/**
 * 菜品图片信息展示对象 dish
 * 
 * @author cui
 * @date 2024-10-21
 */
public class Dish2 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜品id */
    @Excel(name = "菜品id")
    private Long did;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String dname;

    /** 菜品价格 */
    private BigDecimal dprice;

    /** 菜品图片 */
    @Excel(name = "菜品图片")
    private String dimage;

    /** 菜品介绍 */
    private String dintrodoce;

    /** 菜品类型 */
    private String dType;

    /** 创建时间 */
    private Date dCreattime;

    public void setDid(Long did) 
    {
        this.did = did;
    }

    public Long getDid() 
    {
        return did;
    }
    public void setDname(String dname) 
    {
        this.dname = dname;
    }

    public String getDname() 
    {
        return dname;
    }
    public void setDprice(BigDecimal dprice) 
    {
        this.dprice = dprice;
    }

    public BigDecimal getDprice() 
    {
        return dprice;
    }
    public void setDimage(String dimage) 
    {
        this.dimage = dimage;
    }

    public String getDimage() 
    {
        return dimage;
    }
    public void setDintrodoce(String dintrodoce) 
    {
        this.dintrodoce = dintrodoce;
    }

    public String getDintrodoce() 
    {
        return dintrodoce;
    }
    public void setdType(String dType) 
    {
        this.dType = dType;
    }

    public String getdType() 
    {
        return dType;
    }
    public void setdCreattime(Date dCreattime) 
    {
        this.dCreattime = dCreattime;
    }

    public Date getdCreattime() 
    {
        return dCreattime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("did", getDid())
            .append("dname", getDname())
            .append("dprice", getDprice())
            .append("dimage", getDimage())
            .append("dintrodoce", getDintrodoce())
            .append("dType", getdType())
            .append("dCreattime", getdCreattime())
            .toString();
    }
}
